package com.community.comsys.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.community.common.annotation.Excel;
import com.community.common.core.domain.BaseEntity;

/**
 * 项目管理对象 community
 * 
 * @author 潇东
 * @date 2025-10-27
 */
public class Community extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 社区ID */
    private Long communityId;

    /** 社区名称 */
    @Excel(name = "社区名称")
    private String name;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 地图位置 */
    @Excel(name = "地图位置")
    private String mapLocation;

    /** 占地面积 */
    @Excel(name = "占地面积")
    private BigDecimal area;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private BigDecimal buildingArea;

    /** 公共场所面积 */
    @Excel(name = "公共场所面积")
    private BigDecimal publicArea;

    /** 绿化面积 */
    @Excel(name = "绿化面积")
    private BigDecimal greenArea;

    /** 车位面积 */
    @Excel(name = "车位面积")
    private BigDecimal parkingArea;

    /** 社区描述 */
    @Excel(name = "社区描述")
    private String description;

    /** 社区图片(JSON数组) */
    @Excel(name = "社区图片(JSON数组)")
    private String images;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long userId;

    /** 状态(有效/无效) */
    @Excel(name = "状态(有效/无效)")
    private String status;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDeleted;

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setMapLocation(String mapLocation) 
    {
        this.mapLocation = mapLocation;
    }

    public String getMapLocation() 
    {
        return mapLocation;
    }

    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }

    public void setBuildingArea(BigDecimal buildingArea) 
    {
        this.buildingArea = buildingArea;
    }

    public BigDecimal getBuildingArea() 
    {
        return buildingArea;
    }

    public void setPublicArea(BigDecimal publicArea) 
    {
        this.publicArea = publicArea;
    }

    public BigDecimal getPublicArea() 
    {
        return publicArea;
    }

    public void setGreenArea(BigDecimal greenArea) 
    {
        this.greenArea = greenArea;
    }

    public BigDecimal getGreenArea() 
    {
        return greenArea;
    }

    public void setParkingArea(BigDecimal parkingArea) 
    {
        this.parkingArea = parkingArea;
    }

    public BigDecimal getParkingArea() 
    {
        return parkingArea;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("communityId", getCommunityId())
            .append("name", getName())
            .append("address", getAddress())
            .append("mapLocation", getMapLocation())
            .append("area", getArea())
            .append("buildingArea", getBuildingArea())
            .append("publicArea", getPublicArea())
            .append("greenArea", getGreenArea())
            .append("parkingArea", getParkingArea())
            .append("description", getDescription())
            .append("images", getImages())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
